package com.luanye.enjoy.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.experimental.Accessors;

@Data@Builder@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("enjoy_policy")
public class Policy  {
    @TableId
    private Long id;

    
    private String title;
    
    private String content;
    
    private String summary;

    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer delFlag;
    
    private String img;
    
    private Integer typeid;
    
    private String organizationName;
    
    private String organizationLogo;


}
